package com.niit.dao;

import com.niit.pojo.Brand;

import java.util.List;

public interface BrandMapper {
    List<Brand> selectAllBrand();
    List<Brand> selectBrand(String key);
    int addBrand(Brand brand);
    int selectIdByName(String brand_name);
    Brand selectBrandById(int brand_id);
    int addBrandById(String brand_name);
    int updateBrand(Brand brand);
    int deleteBrand(int id);
}
